package com.woniuxy.common.mapper;

import com.woniuxy.common.entity.ShopUserAddress;
import com.woniuxy.common.entity.ShopUserAddressExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShopUserAddressMapper {
    long countByExample(ShopUserAddressExample example);

    int deleteByExample(ShopUserAddressExample example);

    int deleteByPrimaryKey(String id);

    int insert(ShopUserAddress record);

    int insertSelective(ShopUserAddress record);

    List<ShopUserAddress> selectByExample(ShopUserAddressExample example);

    ShopUserAddress selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ShopUserAddress record, @Param("example") ShopUserAddressExample example);

    int updateByExample(@Param("record") ShopUserAddress record, @Param("example") ShopUserAddressExample example);

    int updateByPrimaryKeySelective(ShopUserAddress record);

    int updateByPrimaryKey(ShopUserAddress record);
}
